package net.stogi.unicore.beyond.ui.shared.taskeditor.action.model;

import net.stogi.common.gwt.dispatch.shared.core.Action;
import net.stogi.unicore.beyond.api.model.TaskDefinition;

public class SaveTaskDefinitionAction implements Action<SaveTaskDefinitionResult> {

	private static final long serialVersionUID = 1435539739879647643L;

	private TaskDefinition taskDefinition;

	public SaveTaskDefinitionAction(TaskDefinition taskDefinition) {
		this.taskDefinition = taskDefinition;
	}

	@SuppressWarnings("unused")
	private SaveTaskDefinitionAction() {}

	public TaskDefinition getTaskDefinition() {
		return taskDefinition;
	}

	public void setTaskDefinition(TaskDefinition taskDefinition) {
		this.taskDefinition = taskDefinition;
	}
}
